package com.wuyoucar.mapper;


import com.wuyoucar.entity.TOrder;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
@Mapper
public interface OrderMapper {
    List<TOrder> getAllOrderByUserid(int userid);

    int addOrder(TOrder order);

}
